﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace O.M.Production.Domain.Entity
{
    /// <summary>
    /// 工艺流程
    /// </summary>
    [SugarTable("process_flow")]
    public class process_flow : BaseModel
    {
        /// <summary>
        /// 工艺流程编号
        /// </summary>
        [SugarColumn(ColumnDescription = "工艺流程编号", IsPrimaryKey = true, Length = 100)]
        public string process_flow_id { get; set; }

        /// <summary>
        /// 工艺流程名称
        /// </summary> 
        [SugarColumn(ColumnDescription = "工艺流程名称", Length = 100)]
        public string? process_flow_name { get; set; }

        /// <summary>
        /// 工艺数量
        /// </summary> 
        [SugarColumn(ColumnDescription = "工艺数量")]
        public int process_quantity { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        [SugarColumn(ColumnDescription = "所属部门", Length = 100)]
        public string? subordinate_department {  get; set; }

        /// <summary>
        /// 负责人
        /// </summary> 
        [SugarColumn(ColumnDescription = "负责人", Length = 100)]
        public string? person_in_charge { get; set; }

        /// <summary>
        /// 备注
        /// </summary> 
        [SugarColumn(ColumnDescription = "备注", Length = 100)]
        public string? remarks { get; set; }
        /// <summary>
        /// 附件
        /// </summary>
        [SugarColumn(ColumnDescription = "附件", Length = 200)]
        public string? attachment { get; set; }
    }
}
